package cn.xiaohuodui.service;

import cn.xiaohuodui.dao.GoodSkuAttributeMapper;
import cn.xiaohuodui.model.GoodSkuAttribute;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by TR on 2018/4/3.
 */
@Service
public class GoodSkuAttService {

    @Autowired
    GoodSkuAttributeMapper goodSkuAttributeMapper;

    public List<GoodSkuAttribute> getByGoodId(Integer goodId){
        return  goodSkuAttributeMapper.getByGoodId(goodId);
    }
}
